home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
sgi.lha
/
Geomview
/
man
/
cat1
/
togeomview.1
< prev
next >
Wrap
Text File
|
1993-12-02
|
2KB
|
67 lines
TOGEOMVIEW(1) UNIX Programmer's Manual TOGEOMVIEW(1)
NAME
togeomview - send commands or OOGL objects to geomview
SYNOPSIS
togeomview [-c] [-g] [pipename [program args ...]]
DESCRIPTION
togeomview sends a stream of geomview commands, or OOGL-
format geometric data, to a cooperating copy of geomview.
If geomview is not running, it is automatically started.
Typical usage is:
someprogram | togeomview or
someprogram-generating-OOGL-data | togeomview -g
i.e. a program pipes geometric data into ``stuff''; the data
is displayed by a copy of geomview run with the -M option
and a name matching the one given to stuff.
Togeomview uses a named pipe (on the Iris) or a UNIX-domain
socket (on the NeXT) to communicate with geomview. In
either case, the connection is created in the directory
/tmp/geomview. The pipe's default name is "Mathematica",
though this can be overridden. A geomview object with the
same name as the
FILES
/tmp/geomview
BUGS
The pipe-based communications scheme imposes several res-
trictions.
If no copy of geomview is reading from the pipe, or if geom-
view gets far enough behind, a program writing data to
``stuff'' will be forced to block after sending a few kilo-
bytes.
Because of the buffering in the pipe, the sender may be sub-
stantially ahead of the geomview display.
If geomview exits, the sending program receives a write-on-
broken-pipe (SIGPIPE) signal, which will kill it unless
measures are taken to catch or ignore that signal.
Only one copy of geomview can read from a given pipe at a
time. If a second copy attempts to read from it, both will
probably fail.
SEE ALSO
geomview(1), oogl(5)